package com.lsnu.wzy.po;

//患者类
public class Patient {
	private Integer id;
	private String pID;
	private String pName;
	private String pSex;
	private Integer pAge;
	private String pTel;
	private String password;
	
	public Patient(Integer id,String pID, String pName, String pSex,Integer pAge,String pTel,String password) {
		super();
		this.id=id;
		this.pID = pID;
		this.pName = pName;
		this.pSex = pSex;
		this.pAge = pAge;
		this.pTel = pTel;
		this.password=password;
	}
	public Patient(String pID,String pName,String pSex, Integer pAge, String pTel,String password) {
		super();
		this.pID = pID;
		this.pName = pName;
		this.pSex = pSex;
		this.pAge = pAge;
		this.pTel = pTel;
		this.password=password;

	}
	public Patient() {
		super();
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getpID() {
		return pID;
	}
	public void setpID(String pID) {
		this.pID = pID;
	}
	public String getpName() {
		return pName;
	}
	public void setpName(String pName) {
		this.pName = pName;
	}
	public String getpSex() {
		return pSex;
	}
	public void setpSex(String pSex) {
		this.pSex = pSex;
	}
	public String getpTel() {
		return pTel;
	}
	public void setpTel(String pTel) {
		this.pTel = pTel;
	}
	public Integer getpAge() {
		return pAge;
	}
	public void setpAge(Integer pAge) {
		this.pAge = pAge;
	}

	@Override
	public String toString() {
		return "Patient [id=" + id + ", pID=" + pID + ", pName=" + pName + ", pSex=" + pSex + ", pAge=" + pAge
				+ ", pTel=" + pTel +"]";
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
}
